package com.plian.system.entity.glc;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.plian.system.mybatis.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * @Author: Take-off
 * @Description: TODO
 * @Date: 2023/1/3 9:06 AM
 * @Version: 1.0
 **/

@Data
@TableName("glc_major_project")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "MajorProjectRq对象", description = "管理层经营业绩考核指标表-重大考核项目")
public class GlcMajorProject extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "主表id")
    private Long baseBusinessIndicatorsId;

    @ApiModelProperty(value = "序号")
    private Integer indexNum;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "项目id")
    private Long projectId;

    @ApiModelProperty(value = "重大工程考核项目名称")
    private String projectName;

    @ApiModelProperty(value = "备注说明")
    private String remarks;

    @ApiModelProperty(value = "数据来源 null为系统填报 对应用户id")
    private String dataSource;

    @ApiModelProperty(value = "数据来源id", required = true)
    private String dataSourceId;

    @ApiModelProperty(value = "第三方项目id")
    @TableField(exist = false)
    private String dataProjectId;
}
